#include <windows.h>
#include "CRaiseTractorMenuPacket.h"

CRaiseTractorMenuPacket::CRaiseTractorMenuPacket(CBaseEntity * schar, int type) {

	this->type			= 0xf9;
	this->size			= 0x06;

	memcpy(this->data,	&schar->m_id,4);

	unsigned short targId = schar->getTargId();
	memcpy(this->data+4, &targId, 2);

	memcpy(this->data+6, &type, 2);

}

CRaiseTractorMenuPacket::~CRaiseTractorMenuPacket() {

}